<!DOCTYPE html>
<html>
    <head>
        <#include "../../common.ftl">
    </head>
    <body class="childrenBody">
        <form class="layui-form" style="width:80%;">
            <#-- 设置营销机会ID的隐藏域 -->
            <input type="hidden" name="id" value="${(lendDTO.readerId)!}">
            <#-- 设置指派人的隐藏域ID -->
            <input type="hidden" id="assignManId" value="${(lendDTO.readerName)!}">

            <div class="layui-form-item layui-row layui-col-xs12">
                <label class="layui-form-label">用户名</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" lay-verify="required" name="customerName" id="customerName"  value="${(lendDTO.readerName)!}" placeholder="请输入读者名称">
                </div>
            </div>
            <div class="layui-form-item layui-row layui-col-xs12">
                <label class="layui-form-label">书名</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input"  name="chanceSource" id="chanceSource" value="${(lendDTO.bookName)!}" placeholder="请输入书名">
                </div>
            </div>
            <div class="layui-form-item layui-row layui-col-xs12">
                <label class="layui-form-label">借阅时间</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" name="linkMan"  lay-verify="required"  value="${(lendDTO.lendDate)!}" placeholder="请输入借阅时间">
                </div>
            </div>

            <div class="layui-form-item layui-row layui-col-xs12">
                <label class="layui-form-label">书籍状态</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" lay-verify="phone" name="linkPhone" value="${(lendDTO.bookStatus)!}" id="phone" placeholder="请输入书籍状态">
                </div>
            </div>
            <div class="layui-form-item layui-row layui-col-xs12">
                <label class="layui-form-label">电话</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input"
                            name="overview" value="${(lendDTO.phone)!}" id="phone" placeholder="请输入电话">
                </div>
            </div>
            <div class="layui-form-item layui-row layui-col-xs12">
                <label class="layui-form-label">地址</label>
                <div class="layui-input-block">
                    <input type="text" class="layui-input" name="cgjl" value="${(lendDTO.address)!}" placeholder="请输入地址">
                </div>
            </div>
            <div class="layui-form-item layui-row layui-col-xs12">
                <label class="layui-form-label">违规次数</label>
                <div class="layui-input-block">
                    <textarea placeholder="请输入违规次数" name="description" class="layui-textarea">${(lendDTO.violationTimes)!}</textarea>
                </div>
            </div>
       <#--     <div class="layui-form-item layui-row layui-col-xs12">
                <label class="layui-form-label">指派给</label>
                <div class="layui-input-block">
                    <select name="assignMan" id="assignMan">
                        <option value="">请选择</option>
                    </select>
                </div>
            </div>-->
            <br/>
            <div class="layui-form-item layui-row layui-col-xs12">
                <div class="layui-input-block">
                    <button class="layui-btn layui-btn-lg" lay-submit=""  lay-filter="addOrUpdate">确认 </button>
                    <button class="layui-btn layui-btn-lg layui-btn-normal" id="closeBtn">取消</button>
                </div>
            </div>
        </form>
    <script type="text/javascript" src="${ctx}/js/syt/borrow.js"></script>
    </body>
</html>